package com.junbao.androidinterview.net.service;

import com.junbao.androidinterview.bean.RepoBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * author : Majunbao
 * github : https://github.com/MaJunBaox
 * time   : 2022/8/9 12:40 下午
 * desc   :
 */
public interface GitHubService {
    @GET("users/{user}/repos")
    Call<List<RepoBean>> listRepos(@Path("user") String user);
}
